import Vue from 'vue'
import Vuex from 'vuex'
import createPersistedState from "vuex-persistedstate"
Vue.use(Vuex)

export default new Vuex.Store({
  plugins:[createPersistedState()],
  state: {
    add:[]
  },
  mutations: {
    tian(state,o){
      state.add.push(o)
    },
    shan(state,o){
      state.add.push(o)
    }
  },
  actions: {
  },
  modules: {
  }
})
